/* pages/car/car.wxss */
.carContainer {
    height: 100vh;
    width: 100vw;
    background: rgba(200, 200, 200, 0.2);
    .scollView {
        width: 100%;

        .subcontainer {
            padding: 10rpx;
            box-sizing: border-box;

            .carProductBody {
                display: flex;
                height: 270rpx;
                margin: 10rpx 0;
                flex-direction: column;
                background: rgba(200, 200, 200, 0.3);
                justify-content: space-between;
                letter-spacing: 1rpx;
                padding: 10rpx;
                box-sizing: border-box;
                border-radius: 20rpx;

                .itemtopPart {
                    position: relative;
                    display: flex;
                    width: 100%;
                    height: 100rpx;
                    padding: 10rpx 20rpx;
                    box-sizing: border-box;
                    align-items: center;
                    border-radius: 20rpx;

                    .checkboxbody {
                        position: absolute;

                        checkbox {
                            transform: scale(0.7);
                            height: 40rpx;
                            width: 40rpx;
                        }
                    }

                    .carRT {
                        position: absolute;
                        border-radius: 20rpx;
                        left: 80rpx;
                        display: flex;

                        .cartTitle {
                            width: 100%;
                            padding: 2rpx;
                            box-sizing: border-box;
                            display: -webkit-box;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                            word-break: break-all;  
                            font: 700 24rpx "Microsoft yahei";
                            color: rgba(0, 0, 0, 0.8);
                        }
                    }
                }

                .cartleft {
                    margin-top: 10rpx;
                    border-radius: 20rpx;
                    position: relative;
                    width: 100%;
                    height: 400rpx;
                    display: flex;

                    .imgBox {
                        position: absolute;
                        top: 0rpx;
                        left: 0rpx;
                        width: 150rpx;
                        height: 180rpx;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        border-radius: 20rpx;
                        box-sizing: border-box;

                        .imgbody {
                            height: 180rpx;
                            width: 150rpx;
                            border-radius: 20rpx;
                        }
                    }

                    .carRCBox {
                        top: 10rpx;
                        position: absolute;
                        left: 160rpx;

                        .carRC {
                            border-radius: 20rpx;
                            margin-bottom: 10rpx;
                            display: flex;

                            .attrTitletag {
                                font: 700 24rpx "Microsoft yahei";
                                color: rgba(0, 0, 0, 0.8);
                                width: 80rpx;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                            }

                            .attrValueBox {
                                display: flex;
                                .attrvalues {
                                    font: 400 24rpx "Microsoft yahei";
                                    color: rgba(0, 0, 0, 0.6);
                                    padding: 2rpx;
                                    box-sizing: border-box;
                                }
                            }

                        }
                    }

                    .rightBox{
                        height: 120rpx;
                        position: absolute;
                        right: 10rpx;
                        bottom: 10rpx;
                        .totalBox{
                            display: flex;
                            .attrtotaltag{
                                font: 700 20rpx "Microsoft yahei";
                                color: rgba(0, 0, 0, 0.8);
                                width: 80rpx;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                            }
                            .attrtotalBox{
                                .attrTotalPrice{
                                    font: 700 20rpx "Microsoft yahei";
                                    color: rgba(255, 0, 0, 0.6);
                                    padding: 2rpx;
                                    box-sizing: border-box;
                                }
                            }
                        }
                        .deleteBox{
                            position: absolute;
                            bottom: 10rpx;
                            right: 10rpx;
                            background: yellowgreen;
                            padding: 10rpx;
                            font: 700 24rpx "Microsoft yahei";
                        }
                    }

                }

            }
        }

    }
    .submitBox {
        display: flex;
        flex: 1;
        height: 60px;
        align-items: center;
        justify-content: space-between;
        padding: 10rpx;
        background: greenyellow;

        .checkAll {
            font: 400 28rpx "Microsoft yahei";
            display: flex;
            align-items: center;
        }

        .total {
            display: flex;
            align-items: center;

            .totaltag {
                width: 60rpx;
                font: 400 28rpx "Microsoft yahei";
            }

            .priceBox {
                .totalNum {
                    color: red;
                    font: 700 40rpx "Microsoft yahei";
                }

                .totalNumdepart {
                    font: 100 24rpx "Microsoft yahei";
                    text-decoration: line-through;
                }
            }
        }

        .submitbox {
            align-items: center;
            font: 400 28rpx "Microsoft yahei";
            background: red;
            line-height: 60rpx;
            width: 200rpx;
            display: flex;
            color: white;
            justify-content: center;
            border-radius: 50rpx;
        }
    }
    .custom-image{
       height: 32px;
       width: 32px;
    }
    .immediatelyLogin{
        background: red;
        color: white;
    }
}